package com.lvmama.client.dw;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.lvmama.common.result.Result;
import com.lvmama.pojo.entity.dw.priceStock.StockAndPriceSearch;

/**
 * @Author:xuzhongwei
 * @Description:
 * @Date：2018/08/07
 */
@FeignClient("rhino-web-service")
@RequestMapping("${server.servlet.context-path}")
public interface StockAndPriceSearchClient {
	
	/**
     * 获取品类列表
     * @return 品类列表
     */
	@RequestMapping(method = RequestMethod.GET, value = "/stockPriceSearch/selectCategoryList", consumes = "application/json")
	Result<List<StockAndPriceSearch>> selectCategoryList();
	
    /**
     * 查询销售渠道列表
     * @return 销售渠道列表
     */
	@RequestMapping(method = RequestMethod.GET, value = "/stockPriceSearch/selectChannelList", consumes = "application/json")
	Result<List<StockAndPriceSearch>> selectChannelList();
    
    /**
     * 获取酒店列表
     * @return 酒店列表
     */
	@RequestMapping(method = RequestMethod.GET, value = "/stockPriceSearch/selectProductList", consumes = "application/json")
	Result<List<StockAndPriceSearch>>  selectProductList();
    
    /**
     * 根据大区查询产品经理列表
     * @return 产品经理列表
     */
	@RequestMapping(method = RequestMethod.GET, value = "/stockPriceSearch/selectProductManagerList", consumes = "application/json")
	Result<List<StockAndPriceSearch>>  selectProductManagerList(@RequestParam(value = "regioname") String regioname);
	
    /**
     * 查询大区列表
     * @return 大区列表
     */
	@RequestMapping(method = RequestMethod.GET, value = "/stockPriceSearch/selectRegionList", consumes = "application/json")
	Result<List<StockAndPriceSearch>> selectRegionList();
    
    /**
     * 查询供应商列表
     * @return 供应商列表
     */
	@RequestMapping(method = RequestMethod.GET, value = "/stockPriceSearch/selectSupperNameList", consumes = "application/json")
	Result<List<StockAndPriceSearch>> selectSupperNameList();
	
    /**
     * 查询供应商类型列表
     * @return 供应商类型列表
     */
	@RequestMapping(method = RequestMethod.GET, value = "/stockPriceSearch/selectSupperTypeList", consumes = "application/json")
	Result<List<StockAndPriceSearch>> selectSupperTypeList();
}
